package com.acme.bankapp.email;

import com.acme.bankapp.domain.bank.Client;

/**
 * This class holds information about Client and his email address
 * 
 * @author Anton Kotov
 * 
 */
public class Email {

    public Email(Client client, String emailAddress) {
	this.client = client;
	this.emailAddress = emailAddress;
    }

    public Client getClient() {
	return client;
    }

    public String getEmailAddress() {
	return emailAddress;
    }

    private Client client;
    private String emailAddress;
}
